package my_test.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by admin on 2017/1/14.
 */
@Controller
@RequestMapping("/greeting")
public class greeting {
    @RequestMapping("/g1")
    public String helloHtml(Model model){
        return"greeting";
    }
}
